package mysale.dao;

import mysale.pojo.Cart;

import java.util.List;

/**
 * @author SnakeWoodMan
 * @create 2020-12-29 17:57
 */
public interface CartDao {
    public List<Cart> getAllcartinfo(String uid);
    public List<Cart> getbuycartinfo(String uid);
    public List<Cart> getnotbuycartinfo(String uid);
    public List<Cart> getCartbyuidfid(Cart cart);
    public boolean insertCart(Cart cart);
    public boolean deleteCart(Cart cart);
    public boolean updateCart(Cart cart);
    public boolean buyCart(Cart cart);
    public boolean subtractCartStock(Cart cart);
}
